projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6541312
)
(Fw32_get_clipboard_data): Disable composition handling.
author
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:37:03 +0000
(
00:37
+0000)
committer
Kenichi Handa
<handa@m17n.org>
Mon, 24 Jun 2002 00:37:03 +0000
(
00:37
+0000)
src/w32select.c
patch
|
blob
|
history
diff --git
a/src/w32select.c
b/src/w32select.c
index fa37bd659262d54f8e646b795a6e5cbe455caca2..4f1ca582daf60f952c08979f5a3a11af46c5638e 100644
(file)
--- a/
src/w32select.c
+++ b/
src/w32select.c
@@
-330,6
+330,10
@@
DEFUN ("w32-get-clipboard-data", Fw32_get_clipboard_data,
coding.dst_multibyte = 1;
Vnext_selection_coding_system = Qnil;
coding.mode |= CODING_MODE_LAST_BLOCK;
+ /* We explicitely disable composition handling because
+ selection data should not contain any composition
+ sequence. */
+ coding.composing = COMPOSITION_DISABLED;
bufsize = decoding_buffer_size (&coding, nbytes);
buf = (unsigned char *) xmalloc (bufsize);
decode_coding (&coding, src, buf, nbytes, bufsize);